package com.duoec.magichour.dto.response;

import com.duoec.magichour.pojo.Article;

import java.util.List;

/**
 * Created by ycoe on 17/6/26.
 */
public class ArticleDetailDto extends Article {
    /**
     * 是否收藏
     */
    private Boolean collected;

    /**
     * 是否关注了文章作者
     */
    private Boolean follow;

    private List<ProductSimpleInfoDto> products;

    public Boolean getCollected() {
        return collected;
    }

    public void setCollected(Boolean collected) {
        this.collected = collected;
    }

    public void setFollow(Boolean follow) {
        this.follow = follow;
    }

    public Boolean isFollow() {
        return follow;
    }

    public List<ProductSimpleInfoDto> getProducts() {
        return products;
    }

    public void setProducts(List<ProductSimpleInfoDto> products) {
        this.products = products;
    }
}
